class Rune():
    def __init__(self):
        self.parent=None
        self.Name="Mark of Destruction"
        self.Icon="r_1_3.png"
        self.IconData=None
        self.Tags=['energy','mark']
        self.Costs = 820
        self.Description="Increases your Armor/Magic Pen. by 1.0/0.57"
        self.RichText_Description=""
        self.LoadIcons()
        self.Custom()

    def LoadIcons(self):
        f = open('images/runes/%s' % (self.Icon))
        self.IconData = f.read()
        f.close()

    def UpdateStats(self):
        self.parent.Armor_Penetration_Flat += 1.0
        self.parent.Magic_Penetration_Flat += 0.57
        self.UpdateStats_Custom()

    def Custom(self):
        pass

    def UpdateStats_Custom(self):
        pass


